<script setup lang="ts">

import AppointmentTimeSelect from "@/components/appointment/AppointmentTimeSelect.vue";
import AppointmentConsultantSelect from "@/components/appointment/AppointmentConsultantSelect.vue";
import AppointmentTypeSelect from "@/components/appointment/AppointmentTypeSelect.vue";
import {reactive, ref} from "vue";

// 提交预约所需要的信息
const appointmentInfo = reactive({
    schedulingId: '',
    mode: '',
    content: '',
    peopleType: 0
})

// 明天日期
const date = ref()
const timePeriod = ref([])
</script>

<template>
    <AppointmentTimeSelect v-model:date="date" v-model:timePeriod="timePeriod"></AppointmentTimeSelect>
    <AppointmentConsultantSelect :date="date" :timePeriod="timePeriod" v-model="appointmentInfo.schedulingId"></AppointmentConsultantSelect>
    <AppointmentTypeSelect></AppointmentTypeSelect>
</template>

<style scoped lang="less">

</style>